# $Id: PKGBUILD 74844 2012-08-07 05:44:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-http-lite
pkgver=2.4
pkgrel=1
pkgdesc="Perl/CPAN Module HTTP::Lite"
arch=(any)
url="http://search.cpan.org/dist/HTTP-Lite"
license=("GPL" "PerlArtistic")
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/HTTP-Lite-$pkgver.tar.gz")
md5sums=('fd7cacf92fd03e49c70e3525b6094282')

build() {
  cd $srcdir/HTTP-Lite-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
